package com.csxh.bean;

import java.util.Arrays;

public class TableInfo {
	
	
	private String table;
	private FieldInfo[] fieldInfos;
	

	public TableInfo(String table, FieldInfo[] fieldInfos) {
		super();
		this.table = table;
		this.fieldInfos = fieldInfos;
	}
	
	public String getTable() {
		return table;
	}
	public void setTable(String table) {
		this.table = table;
	}
	public FieldInfo[] getFieldInfos() {
		return fieldInfos;
	}
	public void setFieldInfos(FieldInfo[] fieldInfos) {
		this.fieldInfos = fieldInfos;
	}
	
	@Override
	public String toString() {
		return "TableFieldInfo [table=" + table + ", fieldInfos=" + Arrays.toString(fieldInfos) + "]";
	}
	
}
